﻿@model Strawberry.Models.Answer

@{
    ViewBag.Title = "UserAnswer";
}

<h2>UserAnswer</h2>

@using (Html.BeginForm())
{    
    @Html.ValidationSummary(true)
    
    @Html.LabelFor(m => m.Mail)
     @Html.EditorFor(m => m.Mail)
     @Html.ValidationMessageFor(m => m.Mail)
    
     @Html.LabelFor(m => m.Title)
     @Html.EditorFor(m => m.Title)
     @Html.ValidationMessageFor(m => m.Title)
    
     @Html.LabelFor(m => m.Content)
     @Html.EditorFor(m => m.Content)
     @Html.ValidationMessageFor(m => m.Content)
    
    <input type="submit" value="Envoyer" class="submit" />
    <button onclick="@Url.Action(MVC.Admin.UserMessages())">Annuler</button>
}
